package com.itheima;
public class PersonTest {
    public static void main(String[] args){
        Person p1 = new Person();
        p1.name = "波姐";
        p1.Math = 100;
        p1.Chinese = 100;
        p1.total();
        p1.avg();

        Person p2 = new Person();
        p2.name = "波弟";
        p2.Math = 100;
        p2.Chinese = 59;
        p2.total();
        p2.avg();

    }
}
